<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<html>
<head>
    <title>固定资产列表</title>
<%@ include file="/WEB-INF/jsp/public/commons.jspf" %>
</head>
<body>
 
<div id="Title_bar">
    <div id="Title_bar_Head">
        <div id="Title_Head"></div>
        <div id="Title"><!--页面标题-->
            <img border="0" width="13" height="13" src="${pageContext.request.contextPath}/style/images/title_arrow.gif"/> 固定资产管理
        </div>
        <div id="Title_End"></div>
    </div>
</div>

<div id="MainArea">
    <table cellspacing="0" cellpadding="0" class="TableStyle">
       
        <!-- 表头-->
        <thead>
            <tr align=center valign=middle id=TableTitle>
            	<td width="150px">序列号</td>
				<td width="150px">固定资产编号</td> 
				<td width="200px">质保时间</td>
				<td width="200px">物料型号</td>
				
				<td>相关操作</td>
            </tr>
        </thead>

		<!--显示数据列表-->
		<s:iterator value="recordList">
        <tbody id="TableData" class="dataContainer" datakey="fixedAsstsList">
			<tr class="TableDetail1 template">
				<td>${serialNo}&nbsp;</td>
				<td>${fixAsstsNo}&nbsp;</td>
				<td>${qgTime}&nbsp;</td>
				<td>${material.specification}&nbsp;</td>
				
				<td>
				<%-- <s:a action="fixedAssts_delete?id=%{id}" onClick="return confirm('您确定要删除吗？')" >删除</s:a> --%>
					<s:a action="userReceipt_addUI?fixedAsstsId=%{id}">选中</s:a>
					&nbsp; 
				</td>
			</tr>
        </tbody>
        </s:iterator>
    </table>
    
    <!-- 其他功能超链接 -->
    <div id="TableTail">
        <div id="TableTail_inside">
            <s:textfield id="search" name="searchSerialNo"></s:textfield>
<%--         	<s:a action="userReceipt_setFixedAssts?searchSerialNo=%{searchSerialNo}">搜索</s:a> --%>
		    <input  type="button"  value="搜索资产编号"  onclick="saveValue()"/>
      <%--       <s:a action="fixedAssts_addUI"><img src="${pageContext.request.contextPath}/style/images/createNew.png" /></s:a> --%>
        </div>
    </div>
</div>

<!--分页信息-->
		<%@ include file="/WEB-INF/jsp/public/pageView.jspf" %>

		<s:form action="userReceipt_setFixedAssts?searchSerialNo=%{searchSerialNo}"></s:form> 


</body>
<script type="text/javascript">
		function saveValue(){
			//no=document.getElementsByName('nValue')[id].Attr("value");
			var no=document.getElementById('search').value;
		 	window.location.href="userReceipt_setFixedAssts.action?searchSerialNo="+no;
		 	/*document.deliveryListForm.submit(); */
			//return no;
		};

</script>
</html>
